home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
nt
/
source.exe
/
POSIX
/
LS
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1993-08-10
|
708b
|
30 lines
!include <ntwin32.mak>
C_DEFINES=-DWIN_NT -DSTDC_HEADERS -D_POSIX_SOURCE -DDIRENT -DSTACK_DIRECTION=-1 -D__STDC__ -DDF_POSIX -D_POSIX_ -DCONVERT_TO_SLASHES -UCONVERT_TO_BACKSLASHES
C_INCLUDES=-I..\include\bsd -I..\include\df
all: ls.exe
..\bsdpsx\bsdpsx.lib:
cd ..\bsdpsx
nmake
cd ..\ls
ls.obj: ls.c *.h
print.obj: print.c *.h
cmp.obj: cmp.c *.h
util.obj: util.c *.h
lsglob.obj: lsglob.c *.h
glob.obj: glob.c *.h
ls.exe: ls.obj print.obj cmp.obj util.obj lsglob.obj glob.obj ..\bsdpsx\bsdpsx.lib
$(link) $(linkdebug) $(psxflags) -out:$*.exe $** $(psxlibs) ..\bsdpsx\bsdpsx.lib
.c.obj:
$(cc) $(cflags) $(psxvars) $(cvars) $(cdebug) $(C_DEFINES) $(C_INCLUDES) $*.c